package generateConnections;

import java.util.ArrayList;
import java.util.Random;

import object.Node;
import util.Settings;

public abstract class GenerateConnectionBase {
	protected Random r = null;
	public abstract void genConnections(ArrayList<Node> nodes, Node node);
	protected void resetNodeColors(ArrayList<Node> nodes){
		for(Node n : nodes)
			n.color = Settings.getInstance().getFrontColor();
	}
	public void resetRandom(){
		r = null;
	}
}
